-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Added notify and drawer default CSS animations #531
base: master
Are you sure you want to change the base?
Conversation
less/core/drawer.less
Outdated
@@ -22,7 +22,7 @@ | |||
} | |||
|
|||
.drawer:not(.disable-animation) { | |||
.transition(left @duration ease-in, right @duration ease-in, transform @duration ease-in, opacity @duration ease-in;); | |||
.transition(left var(--drawerDuration) @animation-easing, right var(--drawerDuration) @animation-easing, transform var(--drawerDuration) @animation-easing, opacity var(--drawerDuration) @animation-easing;); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think any of our other variables are camel case or without the --adapt-
prefix --adapt-drawer-animation-duration
.
What is the @duration
property for if not this? Why do we need a differentiating variable for notify animation duration independent of the drawer animation duration?
https://github.com/search?q=repo%3Aadaptlearning%2Fadapt-contrib-vanilla+%40duration&type=code&p=1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
part of adaptlearning/adapt-contrib-core#600
requires adaptlearning/adapt-contrib-core#601
tbc
Fix
Update
New
Breaking